package dataMigration;




public class MySQLtoPostgre 
{
	void migrate()
	{
		Mysql mysql = new Mysql();
		Postgre post = new Postgre();
		
		Migrate migrateObject = new Migrate();
		migrateObject.setSourceDBconnect(mysql);
		migrateObject.setTargetDBconnect(post);
		migrateObject.setTableName("td_property_details");
		migrateObject.createTeable();
		migrateObject.inserData();
	}
	public static void main(String[] args) {
		MySQLtoPostgre mytopos = new MySQLtoPostgre();
		mytopos.migrate();
	}
}
